5.5
MEDIUM CVSS 3.1
CVE-2025-39679
drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). When the nvif_vmm_type is invalid, we will return error directly without freeing the args in nvif_vmm_ctor(), which leading a memory leak. Fix it by setting the ret -EINVAL and goto done.

INFO

Published Date :

Sept. 5, 2025, 6:15 p.m.

Last Modified :

Nov. 25, 2025, 9:28 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-39679 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Fix potential memory leak in nvif_vmm_ctor by freeing arguments before returning.
  • Apply the provided kernel patch.
  • Update the Linux kernel to a fixed version.
  • Free arguments before returning from nvif_vmm_ctor.
  • Ensure proper error handling for invalid arguments.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-39679 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-39679 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-39679 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-39679 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Nov. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-401
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.44 *cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.16.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.103
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/72553fe19317fe93cb8591c83095c446bc7fe292 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7d9110e3b35d08832661da1a1fc2d24455981a04 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bb8aeaa3191b617c6faf8ae937252e059673b7ea Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/cabcb52d76d3d42f16c344a96e098dd9d18602f8 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 05, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor(). When the nvif_vmm_type is invalid, we will return error directly without freeing the args in nvif_vmm_ctor(), which leading a memory leak. Fix it by setting the ret -EINVAL and goto done.
    Added Reference https://git.kernel.org/stable/c/72553fe19317fe93cb8591c83095c446bc7fe292
    Added Reference https://git.kernel.org/stable/c/7d9110e3b35d08832661da1a1fc2d24455981a04
    Added Reference https://git.kernel.org/stable/c/bb8aeaa3191b617c6faf8ae937252e059673b7ea
    Added Reference https://git.kernel.org/stable/c/cabcb52d76d3d42f16c344a96e098dd9d18602f8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact